# 独立运行打包程序
# python setup.py build
# python setup.py bdist_msi
# kzeng, 2021-09-02

from cx_Freeze import setup, Executable
# import configparser

build_exe_options = {
    "include_files": ["Config.ini", "router", "static", "templates"],
    "packages" : ["jinja2", "openpyxl", "flask"]
}

setup(
    name="thrmp",
    version="1.0",
    description="Temperature and Humidity Recorder Management Platform",
    author="xds",
    options = {"build_exe": build_exe_options},
    executables=[Executable(script="run.py",  icon=".\\static\\assets\\favicon.ico")]
)